package com.bckj.fastboot.iot.biz.convert;

import com.bckj.fastboot.core.mapstruct.MapStructConfig;
import com.bckj.fastboot.iot.common.dto.request.IotAlarmRuleRequest;
import com.bckj.fastboot.iot.common.entity.IotAlarmRule;
import org.mapstruct.Mapper;

/**
 * IotAlarmRuleConvert
 *
 * @author wfc
 * @date 2025/10/31 10:54
 **/
@Mapper(config = MapStructConfig.class)
public interface IotAlarmRuleConvert {

    IotAlarmRule toEntity(IotAlarmRuleRequest request);
}
